home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinXP Find Files Options 2.xpl < prev    next >
Text File  |  2004-02-05  |  2KB  |  49 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Appearance\System\Find Files Dialog"
  5. "UIPATH 2"="Appearance\Start menu\Windows XP\Classic Start Menu"
  6. "UIPATH 3"="Appearance\Start menu\Windows XP\New Start Menu"
  7. "NAME"="Find Files Dialog Appearance"
  8. "VERSION"="1.02"
  9. "LANGUAGE"="VBScript"
  10. "OSVERSION"="0000011"
  11. "TEXT 1"="Use new Task-/Wizard-based search"
  12. "DESCRIPTION 1"="By default, Windows uses a task-based (aka Wizard-based) search dialog."
  13. "DESCRIPTION 2"="This dialog is good for new users, but might be too stupid for advanced users."
  14. "DESCRIPTION 3"="Activate this option to have the new task-based search or deactivate it to search using the old-school search dialog."
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com/"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=" "
  19.  
  20.  
  21. 'Declaration of some constants
  22. sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState\Use Search Asst"
  23.  
  24.  
  25.  
  26. 'Called when the Plugin is started
  27. SUB Plugin_Initialize 
  28.  s=RegReadValue(sV1)
  29.  If s="yes" or IsEmpty(s) then SetUIElement 1,true
  30. END SUB
  31.  
  32. 'Called when the Plugin should validate the Data the user has entered
  33. SUB Plugin_CheckData(ElementIndex)
  34. END SUB
  35.  
  36. 'Called when the Plugin should apply the changes
  37. SUB Plugin_Apply(ElementIndex,ElementSubIndex) 
  38.  if GetUIElement(1)=true then
  39.     if RegValueExists(sV1) then Call RegDeleteValue(sV1)
  40.  else
  41.     Call RegWriteValue(sV1,"no",1)
  42.  end if
  43. END SUB
  44.  
  45.  
  46. 'Called when the Plugin is about to be removed from memory
  47. SUB Plugin_Terminate
  48. END SUB
  49.